70fdf5582a27c64ded89464880cfc77f89d8c161,community/import-tool/src/test/java/org/neo4j/tooling/ImportToolTest.java,ImportToolTest,shouldImportWithoutTypeSpecifiedInRelationshipHeaderbutWithDefaultTypeInArgument,#,295

Before Change


        String type = randomType();

        // WHEN
        ImportTool.main( arguments(
                "--into",          dbRule.getStoreDir().getAbsolutePath(),
                "--nodes",         nodeData( true, config, nodeIds, alwaysTrue() ).getAbsolutePath(),
                                   // there will be no :TYPE specified in the header of the relationships below
                "--relationships:" + type,
                                   relationshipData( true, config, nodeIds, alwaysTrue(), false ).getAbsolutePath() ) );

        // THEN
        verifyData();

After Change


        String type = randomType();

        // WHEN
        importTool(
                "--into",          dbRule.getStoreDir().getAbsolutePath(),
                "--nodes",         nodeData( true, config, nodeIds, alwaysTrue() ).getAbsolutePath(),
                                   // there will be no :TYPE specified in the header of the relationships below
                "--relationships:" + type,
                                   relationshipData( true, config, nodeIds, alwaysTrue(), false ).getAbsolutePath() );

        // THEN
        verifyData();